package com.xxr.mom.ci.common.exception;

import lombok.Data;

/**
 * @description: BusinessException
 * @date: 2024/8/21 21:15
 * @author: natsuki_kining
 * @version: 1.0
 */
@Data
public class BusinessException extends RuntimeException {

    private Integer code;

    private String message;

    public BusinessException(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
